<template>
  <div>
    <el-card>
      <el-button type="primary" @click="$bus.$emit('addText')">添加标签项</el-button>
      <el-button type="warning" icon="el-icon-postcard" @click="$bus.$emit('staging')">暂存</el-button>
      <el-button type="info" icon="el-icon-folder-opened">历史记录</el-button>
      <el-button type="danger" icon="el-icon-printer" @click="$bus.$emit('print')">打印</el-button>
    </el-card>
  </div>
</template>

<script>
export default {
  name: 'Menu',
}
</script>
